package com.sushi.service.impl;

import com.sushi.dao.LogDao;
import com.sushi.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LogServiceImpl implements LogService {

    @Autowired
    private LogDao logDao;

    @Override
    public void log(String name1, String name2, int num) {
        logDao.log(name1 + "向" + name2 + "转账", num);
    }
}
